package com.liliudong.dynamicmybatis

import com.intellij.notification.Notification
import com.intellij.notification.NotificationType
import com.intellij.notification.Notifications
import com.intellij.openapi.project.Project
import com.intellij.openapi.wm.ToolWindowId

object CopySuccessNotification {
    fun showCopySuccessNotification(project: Project?) {
        val content = "SQL copied to clipboard!"
        val notification = Notification(
            ToolWindowId.PROJECT_VIEW,
            "Tips",
            content,
            NotificationType.INFORMATION
        )
        Notifications.Bus.notify(notification, project)
    }
}
